package com.xhh.nphm.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

@TableName("sCodeSmall")
public class ScodeSmallEty implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String codeBig;
    private String csvalue;
    private String cstext;
    private String type;
    private int csord;
    private String remark;
    private int editFlag;
    private int useFlag = 1;
    private Date crtTime = new Date();
    @TableLogic
    private int isDel;
    private int spareInt;
    private String spareString;
    private int flagInt;
    private String flagString;
    private int fkint;
    private String fkstring;

    public ScodeSmallEty() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCodeBig() {
        return codeBig;
    }

    public void setCodeBig(String codeBig) {
        this.codeBig = codeBig;
    }

    public String getCsvalue() {
        return csvalue;
    }

    public void setCsvalue(String csvalue) {
        this.csvalue = csvalue;
    }

    public String getCstext() {
        return this.cstext;
    }

    public void setCstext(String cstext) {
        this.cstext = cstext;
    }

    public int getCsord() {
        return this.csord;
    }

    public void setCsord(int csord) {
        this.csord = csord;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getEditFlag() {
        return this.editFlag;
    }

    public void setEditFlag(int editFlag) {
        this.editFlag = editFlag;
    }

    public int getUseFlag() {
        return this.useFlag;
    }

    public void setUseFlag(int useFlag) {
        this.useFlag = useFlag;
    }

    public Date getCrtTime() {
        return this.crtTime;
    }

    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }

    public int getIsDel() {
        return this.isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    public int getSpareInt() {
        return this.spareInt;
    }

    public void setSpareInt(int spareInt) {
        this.spareInt = spareInt;
    }

    public String getSpareString() {
        return this.spareString;
    }

    public void setSpareString(String spareString) {
        this.spareString = spareString;
    }

    public int getFlagInt() {
        return this.flagInt;
    }

    public void setFlagInt(int flagInt) {
        this.flagInt = flagInt;
    }

    public String getFlagString() {
        return this.flagString;
    }

    public void setFlagString(String flagString) {
        this.flagString = flagString;
    }

    public int getFkint() {
        return this.fkint;
    }

    public void setFkint(int fkint) {
        this.fkint = fkint;
    }

    public String getFkstring() {
        return this.fkstring;
    }

    public void setFkstring(String fkstring) {
        this.fkstring = fkstring;
    }

    public ScodeSmallEty copy(ScodeSmallEty entity) {
        entity.cstext = this.cstext;
        entity.csord = this.csord;
        entity.remark = this.remark;
        entity.editFlag = this.editFlag;

        entity.useFlag = this.useFlag;
        entity.spareInt = this.spareInt;
        entity.spareString = this.spareString;
        entity.flagInt = this.flagInt;
        entity.flagString = this.flagString;
        return entity;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("cstext:").append(this.cstext);
        sb.append("csord:").append(this.csord);
        sb.append("remark:").append(this.remark);
        sb.append("editFlag:").append(this.editFlag);
        sb.append("useFlag:").append(this.useFlag);
        sb.append("crtTime:").append(this.crtTime);
        sb.append("isDel:").append(this.isDel);
        sb.append("spareInt:").append(this.spareInt);
        sb.append("spareString:").append(this.spareString);
        sb.append("flagInt:").append(this.flagInt);
        sb.append("flagString:").append(this.flagString);
        sb.append("fkint:").append(this.fkint);
        sb.append("fkstring:").append(this.fkstring);

        return sb.toString();
    }
}

